const obj={
    name:'test'
}

Object.assign({},obj)